Hack PySyft Client Over Sockets

In this challenge, you will try to get access to the data which is on alice, bob, or charlie's machines. You may use ANY means necessary to try to do so. This first cell, which we provide here, connects you to each of the three workers using the normal client workers.

If you are successful in extacting the tensors which alice, bob, and/or charlie contain, please report it by opening up a Github issue here! https://github.com/OpenMined/PySyft/issues


In [ ]:
import torch as th
import torch
import syft as sy

hook = sy.TorchHook(th)

from syft.workers.websocket_client import WebsocketClientWorker

kwargs_websocket = {"host": "localhost", "hook": hook, "verbose": False}

alice = WebsocketClientWorker(id="alice", port=8777, **kwargs_websocket)
bob = WebsocketClientWorker(id="bob", port=8778, **kwargs_websocket)
charlie = WebsocketClientWorker(id="charlie", port=8779, **kwargs_websocket)

In [ ]: